<div class="aw-mod aw-text-align-justify">
	<div class="mod-head">
		<a href="people/" class="pull-right"><?php _e('更多'); ?> &gt;</a>
		<h3><?php _e('热门用户'); ?></h3>
	</div>
	<div class="mod-body">
		<?php if (is_array($this->sidebar_hot_users)) { ?>
		<?php foreach($this->sidebar_hot_users AS $key => $val) {?>	
		<dl>
			<dt class="pull-left aw-border-radius-5">
				<a href="people/<?php echo $val['url_token']; ?>"><img alt="" src="<?php echo get_avatar_url($val['uid'], 'mid'); ?>" /></a>
			</dt>
			<dd class="pull-left">
				<a href="people/<?php echo $val['url_token']; ?>" data-id="<?php echo $val['uid']; ?>" class="aw-user-name"><?php echo $val['user_name']; ?><?php if(!empty($val['province'])){ ?> - <?php echo $val['province']; ?> <?php } ?>
					<?php if ($val['verified']) { ?><i class="icon-v<?php if ($val['verified'] == 'enterprise') { ?> i-ve<?php } ?>" title="<?php if ($val['verified'] == 'enterprise') { ?>企业认证<?php } else { ?>个人认证<?php } ?>"></i><?php } ?><?php echo $val['signature']; ?>
				</a>
				<?php if(empty($this->user_info['uid'])){ ?>
				<a href="/account/register/" class="pull-right"><span>关注</span></a>
				<?php } else { ?>
				<?php if(!$val['focus']){ ?>
				<a href="javascript:;" onclick="AWS.User.follow($(this), 'special', <?php echo $val['uid'];?>);" class="pull-right"><span>关注</span></a>
				<?php } ?>
				<?php }?>

				<p class="signature"><?php echo $val['signature']; ?></p>
				<p><?php _e('%s 个问题', '<b>' . $val['question_count'] . '</b>'); ?>, <?php _e('%s 次赞同', '<b>' . $val['agree_count'] . '</b>'); ?></p>
			</dd>
			<!--<dd class="pull-right">-->
				<!--<a href="javascript:;" onclick="AWS.User.follow($(this), 'user', <?php echo $val['uid']; ?>)">关注</a>-->
			<!--</dd>-->
		</dl>
		<?php } ?>
		<?php } ?>
	</div>
</div>